package com.cn.serverline.lineicp.productionLine.param;

import cn.stylefeng.roses.kernel.rule.annotation.ChineseDescription;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import java.util.List;

/**
 * 型号节点库编辑参数
 *
 * @author Gmr
 * @since 2024/7/29
 */
@Data
public class ModelNodeLibraryEditParam {

	@ApiModelProperty(value = "型号节点库ID", required = true)
	@ChineseDescription("型号节点库ID")
	@NotBlank(message = "型号节点库ID不能为空")
	private String id;

	@ApiModelProperty(value = "预案名称", required = true)
	@ChineseDescription("预案名称")
	@NotBlank(message = "预案名称不能为空")
	private String planName;

	@ApiModelProperty(value = "产品型号编码", required = true)
	@ChineseDescription("产品型号编码")
	@NotBlank(message = "产品型号编码不能为空")
	private String modelCode;

	@ApiModelProperty(value = "型号节点列表")
	@ChineseDescription("型号节点列表")
	private List<ModelNode> modelNodeList;
}
